AC_PREREQ(2.60)
AC_INIT([Personal Schedule Generator],[0.3],[soen-341-group@googlegroups.com])
# AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 1.9.6 foreign])

# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_LIBTOOL

# Checks for libraries.
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 1.0.0)
PKG_CHECK_MODULES(GLADEMM, libglademm-2.4 >= 1.0.0)
PKG_CHECK_MODULES(XMLPP, libxml++-2.6 >= 2.10.0)
AC_SUBST(GTKMM_CFLAGS)
AC_SUBST(GTKMM_LIBS)
AC_SUBST(GLADEMM_CFLAGS)
AC_SUBST(GLADEMM_LIBS)
AC_SUBST(XMLPP_CFLAGS)
AC_SUBST(XMLPP_LIBS)
BOOST_REQUIRE([1.34.1])
# BOOST_TEST
BOOST_DATE_TIME
# BOOST_GRAPH
# BOOST_PROGRAM_OPTIONS
# BOOST_LAMBDA
BOOST_SMART_PTR

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile
                 src/Makefile
                 src/gsched/Makefile])
AC_OUTPUT
